package com.ls.uav_backend.service;

import com.alibaba.dashscope.app.ApplicationResult;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.ls.uav_backend.model.dto.EnvironmentDataAIChatDTO;
import reactor.core.publisher.Flux;

public interface AiChatService {
    Flux<ApplicationResult> chatWithMemory(String userMessage, Integer chatId) throws NoApiKeyException, InputRequiredException;

    String formatUserPromptWithEnvironmentData(String userMessage, EnvironmentDataAIChatDTO environmentDataAIChatDTO);
}
